package com.superbytecode.stencil.entities.table;

import lombok.Data;

/**
 * All rights Reserved, Designed By www.super-master.com
 *
 * @ProjectName: code-stencil
 * @Package: com.superbytecode.stencil.structure.column
 * @ClassName: Column
 * @Description: []
 * <p> </p>
 * @Author: [Lance Ting]
 * @Date: 2024/10/12 14:21
 * @Version: V1.0
 * @Copyright: 2024 www.super-master.cn Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
@Data
public class SQLColumn {
    /**
     * 数据库字段名
     */
    private String columnName;
    /**
     * 字段注释
     */
    private String comments;
    /**
     * 字段类型
     */
    private String columnType;
    /**
     * 是否自增
     */
    private Boolean isIdentity;
    /**
     * 是否主键
     */
    private Boolean isPrimaryKey;

    public ColumnTypeConverter getColumnTypeConverter() {
        String mgs = "未覆盖com.superbytecode.stencil.structure.column.getColumnTypeConverter";
        throw new UnsupportedOperationException(mgs);
    }
}